package org.jeecg.modules.kc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.business.vo.BusOrderFeeGoodsVo;
import org.jeecg.modules.kc.entity.KcDepositoryInGoods;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.kc.vo.GoodStorage;

/**
 * @Description: kc_depository_in_goods
 * @Author: jeecg-boot
 * @Date:   2023-04-18
 * @Version: V1.0
 */
public interface IKcDepositoryInGoodsService extends IService<KcDepositoryInGoods> {
    /**
     * 仓库库存商品列表
     * @param page
     * @param kcDepositoryInGoods
     * @return
     */
    public Page<KcDepositoryInGoods> depositoryInGoodsList(Page<KcDepositoryInGoods> page, KcDepositoryInGoods kcDepositoryInGoods);

    IPage<GoodStorage> storagePage(Page<GoodStorage> page, GoodStorage goodStorage);

    IPage<GoodStorage> storageDetailPage(Page<GoodStorage> page, GoodStorage goodStorage);

    void addSell(KcDepositoryInGoods depositoryInGoods);

    IPage<GoodStorage> goodsSellDetailPage(Page<GoodStorage> page, GoodStorage goodStorage);

    IPage<GoodStorage> goodsSellCollect(Page<GoodStorage> page, GoodStorage goodStorage);
}
